package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 信箱阅读时间
    */
@ApiModel(value="com-lanchetech-entity-MailboxRead")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MailboxRead implements Serializable {
    /**
    * id
    */
    @ApiModelProperty(value="id")
    private Long id;

    /**
    * 用户id
    */
    @ApiModelProperty(value="用户id")
    private Long userId;

    /**
    * 信箱类型 0 牧场信箱 1 果园信箱
    */
    @ApiModelProperty(value="信箱类型 0 牧场信箱 1 果园信箱")
    private Byte type;

    /**
    * 阅读时间
    */
    @ApiModelProperty(value="阅读时间")
    private Date readTime;

    private static final long serialVersionUID = 1L;
}